package factory;

/**
 * 工厂创造/生成器
 *
 * @author lihaoshan
 * @date 2018-06-22
 * */
public class FactoryProducer {

    public static AbstractFactory getFactory(String choice){

        if ("品牌".equals(choice)){
            return new BrandClothesMakeFactory();
        }else if ("非品牌".equals(choice)){
            return new NonBrandClothesMakeFactory();
        }
        return null;
    }
}
